package com.hgyc.mom.mes.entity;

import java.time.LocalDateTime;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;

import com.hgyc.mom.common.annotation.Excel;
import com.hgyc.mom.core.mybatis.EQ;
import com.hgyc.mom.core.mybatis.Like;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * <p>
 * 过站采集明细
 * </p>
 *
 * @author fwj
 * @since 2025-07-04
 */
@Data
@TableName("mes_station_collect_detail")
@Schema(name="过站采集明细对象", description="过站采集明细对象")
public class MesStationCollectDetail implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @Schema(description = "主键ID")
    private Long id;

    @Excel(name = "关联主表ID")
    @EQ
    @Schema(description = "关联主表ID")
    private Long collectId;

    @Excel(name = "参数编码")
    @EQ
    @Schema(description = "参数编码")
    private String paramCode;

    @Excel(name = "参数名称")
    @EQ
    @Schema(description = "参数名称")
    private String paramName;

    @Excel(name = "参数值")
    @EQ
    @Schema(description = "参数值")
    private String paramValue;

    @Excel(name = "单位")
    @EQ
    @Schema(description = "单位")
    private String unit;

    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "记录时间")
    private LocalDateTime createTime;

}